/**
 * Copyright (C) 2015-2018 IQIYI
 * All rights reserved.
 *
 * Author     : 王海斌
 * E-mail     : wanghaibin@qiyi.com
 * Version    :
 * Date       : Wed 21 Nov 2018 04:03:56 PM CST
 * Destription:
 *
 */
#include <iostream>
#include <sstream>
#include <string>
#include <stdio.h>

int main(int argc, char *argv[])
{
    int a=5;
    long l=10;
    double d=0.2;

    std::stringstream ss;
    ss << "a=" <<  a;
    ss << " l=" << l;
    ss << " d=" << d << "\n";
    printf("%s", ss.str().c_str());
}

